/*
 * All content copyright http://www.j2eefast.com, unless
 * otherwise indicated. All rights reserved.
 * No deletion without permission
 */
package com.j2eefast.flowable.bpm.entity;


import com.alibaba.excel.annotation.ExcelIgnore;
import com.alibaba.excel.annotation.ExcelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * <p>项目档案管理</p>
 *
 * @author: zhangyuan
 * @date: 2021-05-05 22:18
 * @web: http://www.letukeji.cn
 * @version: 1.0.1
 */
@Data
@TableName("project_archives")
public class ProjectArchivesEntity {

	@TableId(value = "id",type = IdType.AUTO)
	@ExcelIgnore
	protected Integer id;
	//用户id
	@TableField(value = "user_id")
	@ExcelIgnore
	protected String userId;
	//档案编号
	@TableField(value = "name")
	@ExcelProperty(value="档案编号",index=0)
	protected String name;
	//未知
	@TableField(value = "file_number")
	@ExcelProperty(value="未知",index=7)
	protected String fileNumber;
	//合同编号
	@TableField(value = "contract_no")
	@ExcelProperty(value="合同编号",index=1)
	protected String contractNo;
	//项目名称
	@TableField(value = "project_name")
	@ExcelProperty(value="项目名称",index=2)
	protected String projectName;
	//合同甲方
	@TableField(value = "contract_first")
	@ExcelProperty(value="合同甲方",index=3)
	protected String contractFirst;
	//地址
	@TableField(value = "address")
	@ExcelProperty(value="地址",index=4)
	protected String address;
	//项目经理
	@TableField(value = "ceo_name")
	@ExcelProperty(value="项目经理",index=5)
	protected String ceoName;
	//项目经理id
	@TableField(value = "name_id")
	@ExcelIgnore
	protected Long nameId;
	//项目所属部门
	@TableField(value = "department")
	@ExcelProperty(value="项目所属部门",index=6)
	protected String department;
	//签订日期
	@TableField(value = "sign_data")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
	@ExcelProperty(value="签订日期",index=9)
	protected Date signData;
	//合同金额总计
	@TableField(value = "contract_total")
	@ExcelProperty(value="合同金额总计",index=8)
	protected Double contractTotal;
	//已开三联单应交款
	@TableField(value = "sanlian_total")
	@ExcelProperty(value="已开三联单应交款",index=10)
	protected Double sanlianTotal;
	//已结算金额统计
	@TableField(value = "put_amount_total")
	@ExcelProperty(value="已结算金额统计",index=11)
	protected Double putAmountTotal;
	//项目完结日期
	@TableField(value = "end_data")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
	@ExcelProperty(value="项目完结日期",index=13)
	protected Date endData;
	//项目创建日期
	@TableField(value = "create_time")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
	@ExcelProperty(value="项目创建日期",index=12)
	protected Date createTime;
	//更新时间
	@TableField(value = "update_time")
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss" , timezone = "GMT+8")
	@ExcelProperty(value="更新时间",index=14)
	protected Date updateTime;


	@Override
	public String toString() {
		return super.toString();
	}
}
